<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'history.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
   <s:if test="featureArtifactHistoryList != null">
   		<table border="1">
					<tr>
						<th>
							title
						</th>
						<th>
							author
						</th>
						<th>
							status
						</th>
						<th>
							version
						</th>
						<th>
							priority
						</th>
					</tr>
					<s:iterator value="featureArtifactHistoryList" id="list" status="st">
						<tr>
							<td>
								<s:property value="#list.title" />
							</td>
							<td>
								<s:property value="#list._authorname" />
							</td>
							<td>
								<s:property value="#list.status" />
							</td>
							<td>
								<s:property value="#list.version" />
							</td>
							<td>
								<s:property value="#list.priority" />
							</td>
						</tr>
					</s:iterator>
				</table>
   </s:if>
   
   <s:if test="requirementArtifactHistoryList != null">
   		<table border="1">
					<tr>
						<th>
							title
						</th>
						<th>
							author
						</th>
						<th>
							status
						</th>
						<th>
							version
						</th>
						<th>
							priority
						</th>
					</tr>
					<s:iterator value="requirementArtifactHistoryList" id="list" status="st">
						<tr>
							<td>
								<s:property value="#list.title" />
							</td>
							<td>
								<s:property value="#list._authorname" />
							</td>
							<td>
								<s:property value="#list.status" />
							</td>
							<td>
								<s:property value="#list.version" />
							</td>
							<td>
								<s:property value="#list.priority" />
							</td>
						</tr>
					</s:iterator>
				</table>
   </s:if>
   
   
   <s:if test="designArtifactHistoryList != null">
   		<table border="1">
					<tr>
						<th>
							title
						</th>
						<th>
							author
						</th>
						<th>
							status
						</th>
						<th>
							version
						</th>
						<th>
							priority
						</th>
					</tr>
					<s:iterator value="designArtifactHistoryList" id="list" status="st">
						<tr>
							<td>
								<s:property value="#list.title" />
							</td>
							<td>
								<s:property value="#list._authorname" />
							</td>
							<td>
								<s:property value="#list.status" />
							</td>
							<td>
								<s:property value="#list.version" />
							</td>
							<td>
								<s:property value="#list.priority" />
							</td>
						</tr>
					</s:iterator>
				</table>
   </s:if>
   
   
   <s:if test="implementationArtifactHistoryList != null">
   		<table border="1">
					<tr>
						<th>
							title
						</th>
						<th>
							author
						</th>
						<th>
							status
						</th>
						<th>
							version
						</th>
						<th>
							priority
						</th>
					</tr>
					<s:iterator value="implementationArtifactHistoryList" id="list" status="st">
						<tr>
							<td>
								<s:property value="#list.title" />
							</td>
							<td>
								<s:property value="#list._authorname" />
							</td>
							<td>
								<s:property value="#list.status" />
							</td>
							<td>
								<s:property value="#list.version" />
							</td>
							<td>
								<s:property value="#list.priority" />
							</td>
						</tr>
					</s:iterator>
				</table>
   </s:if>
   
   <s:if test="testArtifactHistoryList != null">
   		<table border="1">
					<tr>
						<th>
							title
						</th>
						<th>
							author
						</th>
						<th>
							status
						</th>
						<th>
							version
						</th>
						<th>
							priority
						</th>
					</tr>
					<s:iterator value="testArtifactHistoryList" id="list" status="st">
						<tr>
							<td>
								<s:property value="#list.title" />
							</td>
							<td>
								<s:property value="#list._authorname" />
							</td>
							<td>
								<s:property value="#list.status" />
							</td>
							<td>
								<s:property value="#list.version" />
							</td>
							<td>
								<s:property value="#list.priority" />
							</td>
						</tr>
					</s:iterator>
				</table>
   </s:if>
   
  </body>
</html>
